<?php
ob_end_clean();
echo 'a';
session_start();
header('Content-type: text/html; charset=utf-8');
setcookie('a', '123fdsadafdsf4');

echo $_COOKIE['a'];